package org.wsalger.dao;

import java.util.Map;

import org.wsalger.model.User;

public interface UserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
    
    //create by wsalger
    
    Map g_selectByNameAndPass(String username, String userpass);
}